package com.yuejian.neusoft.yuejian_24.service;

import com.yuejian.neusoft.yuejian_24.javaBean.Collected;
import com.yuejian.neusoft.yuejian_24.javaBean.March;
import com.yuejian.neusoft.yuejian_24.javaBean.Success;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;



public interface MarchService {
    @GET("index.php/March/marchlist")
    Call<List<March>> getmarchlist();
    @GET("index.php/March/follow")
    Call<Success> follow(
            @Query("march_id")String march_id,
            @Query("uid")String uid,
            @Query("type")String type
    );

    @GET("index.php/March/isCollected")
    Call<Collected> isCollected(
            @Query("march_id")String march_id,
            @Query("uid")String uid,
            @Query("type")String type
    );
}
